package com.dragon.modules.yuegou.entity.act;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.time.LocalDateTime;

/**
 * 礼包发放记录表实体类<br>
 * 对应的表为：act_gift_bag_member_ref<br>
 * 
 * @author pbuilder generated
 * @date 2020-08-06 16:53:18
 * @company sgy
 * @version 2.0
 */
@TableName("act_gift_bag_member_ref")
@ApiModel(description = "礼包发放记录表")
public class GiftBagMemberRefEntity {

    /**  */
	protected String id;

    /**  */
	protected String giftBagId;

    /**  */
	protected String giftBagName;

    /**  */
	protected String memberId;

    /**  */
	protected String busdId;

    /** 手机号 */
	@ApiModelProperty("手机号")
	protected String mobile;

    /** 发放数量 */
	@ApiModelProperty("发放数量")
	protected Integer num;

    /**  */
	protected LocalDateTime createdTime;

    /** 发放人 */
	@ApiModelProperty("发放人")
	protected String createdBy;

    /** 是否撤回 0未撤回 1已撤回 */
	@ApiModelProperty("是否撤回 0未撤回 1已撤回")
	protected Boolean withdraw;

	/**
	 * 构造一个空礼包发放记录表实体对象
	 */
	public GiftBagMemberRefEntity(){
		super();
	}

	/**
	 * 依据其它对象的信息构造一个礼包发放记录表实体对象
	 * 
	 * @param other 其它对象
	 */
	public GiftBagMemberRefEntity(GiftBagMemberRefEntity other){
		super();
     	this.id = other.id;
     	this.giftBagId = other.giftBagId;
     	this.giftBagName = other.giftBagName;
     	this.memberId = other.memberId;
     	this.busdId = other.busdId;
     	this.mobile = other.mobile;
     	this.num = other.num;
     	this.createdTime = other.createdTime;
     	this.createdBy = other.createdBy;
     	this.withdraw = other.withdraw;
	}


	/**
	 * 获取
	 * 
	 * @return id 
	 */
	public String getId() {
		return id;
	}
  	
	/**
	 * 设置
	 * 
	 * @param id 
	 */
	public void setId(String id) {
		this.id = id;
	}

	/**
	 * 获取
	 * 
	 * @return giftBagId 
	 */
	public String getGiftBagId() {
		return giftBagId;
	}
  	
	/**
	 * 设置
	 * 
	 * @param giftBagId 
	 */
	public void setGiftBagId(String giftBagId) {
		this.giftBagId = giftBagId;
	}

	/**
	 * 获取
	 * 
	 * @return giftBagName 
	 */
	public String getGiftBagName() {
		return giftBagName;
	}
  	
	/**
	 * 设置
	 * 
	 * @param giftBagName 
	 */
	public void setGiftBagName(String giftBagName) {
		this.giftBagName = giftBagName;
	}

	/**
	 * 获取
	 * 
	 * @return memberId 
	 */
	public String getMemberId() {
		return memberId;
	}
  	
	/**
	 * 设置
	 * 
	 * @param memberId 
	 */
	public void setMemberId(String memberId) {
		this.memberId = memberId;
	}

	/**
	 * 获取
	 * 
	 * @return busdId 
	 */
	public String getBusdId() {
		return busdId;
	}
  	
	/**
	 * 设置
	 * 
	 * @param busdId 
	 */
	public void setBusdId(String busdId) {
		this.busdId = busdId;
	}

	/**
	 * 获取手机号
	 * 
	 * @return mobile 手机号
	 */
	public String getMobile() {
		return mobile;
	}
  	
	/**
	 * 设置手机号
	 * 
	 * @param mobile 手机号
	 */
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	/**
	 * 获取发放数量
	 * 
	 * @return num 发放数量
	 */
	public Integer getNum() {
		return num;
	}
  	
	/**
	 * 设置发放数量
	 * 
	 * @param num 发放数量
	 */
	public void setNum(Integer num) {
		this.num = num;
	}

	/**
	 * 获取
	 * 
	 * @return createdTime 
	 */
	public LocalDateTime getCreatedTime() {
		return createdTime;
	}
  	
	/**
	 * 设置
	 * 
	 * @param createdTime 
	 */
	public void setCreatedTime(LocalDateTime createdTime) {
		this.createdTime = createdTime;
	}

	/**
	 * 获取发放人
	 * 
	 * @return createdBy 发放人
	 */
	public String getCreatedBy() {
		return createdBy;
	}
  	
	/**
	 * 设置发放人
	 * 
	 * @param createdBy 发放人
	 */
	public void setCreatedBy(String createdBy) {
		this.createdBy = createdBy;
	}

	/**
	 * 获取是否撤回 0未撤回 1已撤回
	 * 
	 * @return withdraw 是否撤回 0未撤回 1已撤回
	 */
	public Boolean getWithdraw() {
		return withdraw;
	}
  	
	/**
	 * 设置是否撤回 0未撤回 1已撤回
	 * 
	 * @param withdraw 是否撤回 0未撤回 1已撤回
	 */
	public void setWithdraw(Boolean withdraw) {
		this.withdraw = withdraw;
	}

    public String toString() {
		return new StringBuilder().append("GiftBagMemberRefEntity{").
			append("id=").append(id).
			append(",giftBagId=").append(giftBagId).
			append(",giftBagName=").append(giftBagName).
			append(",memberId=").append(memberId).
			append(",busdId=").append(busdId).
			append(",mobile=").append(mobile).
			append(",num=").append(num).
			append(",createdTime=").append(createdTime).
			append(",createdBy=").append(createdBy).
			append(",withdraw=").append(withdraw).
			append('}').toString();
    }

	/**
	 * 复制对象
	 * 
	 * @return 复制后的新实体对象
	 */
	public GiftBagMemberRefEntity copy() {
		return new GiftBagMemberRefEntity(this);
	}

    /**  */
	public static final String COL_ID = "id";

    /**  */
	public static final String COL_GIFT_BAG_ID = "gift_bag_id";

    /**  */
	public static final String COL_GIFT_BAG_NAME = "gift_bag_name";

    /**  */
	public static final String COL_MEMBER_ID = "member_id";

    /**  */
	public static final String COL_BUSD_ID = "busd_id";

    /** 手机号 */
	public static final String COL_MOBILE = "mobile";

    /** 发放数量 */
	public static final String COL_NUM = "num";

    /**  */
	public static final String COL_CREATED_TIME = "created_time";

    /** 发放人 */
	public static final String COL_CREATED_BY = "created_by";

    /** 是否撤回 0未撤回 1已撤回 */
	public static final String COL_WITHDRAW = "withdraw";
}
